package de.unibremen.mum.app.whatscool;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

/**
* Created with IntelliJ IDEA.
* User: Marten
* Date: 11.06.13
* Time: 13:51
* To change this template use File | Settings | File Templates.
*/
public class InfoActivity extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_info);
        
     // Handler beim Klicken auf den Button
     			final Button button = (Button) findViewById(R.id.backToHomeInfo);
     			button.setOnClickListener(new View.OnClickListener() {
     				public void onClick(View v) {
     					Intent myIntent = new Intent(InfoActivity.this, MainActivity.class);
     					startActivity(myIntent);
     				}
     			});
    }
}
